package com.vegetable.modules.entity.baseData.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.vegetable.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * <p>
 * 产地商品
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Products对象", description="产地商品")
public class ProductsAddPO extends BaseEntity {


    @ApiModelProperty(value = "标准品名")
    private String standardName;

    @ApiModelProperty(value = "习惯称谓")
    private String commonName;

    @ApiModelProperty(value = "轻质")
    private Integer tags;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品分类")
    private String category;

    @ApiModelProperty(value = "标准重量")
    private BigDecimal standardWeight;

    @ApiModelProperty(value = "毛重")
    private BigDecimal grossWeight;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @NotBlank(message = "商品产地不能为空")
    @ApiModelProperty(value = "产地")
    private String placeOrigin;

    @ApiModelProperty(value = "固定损耗")
    private BigDecimal weightAdd;

    @ApiModelProperty(value = "报价单商品")
    private String quotationName;

    @ApiModelProperty(value = "台账标识 0寿光 1河北")
    private Integer regionId;

    @ApiModelProperty(value = "是否需要自己加工 0是 1否")
    private Integer selfProcessing;
    
    @ApiModelProperty(value = "商品图片链接")
    private String imageUrl;

}